﻿@model PagedList<HMoPro.Models.RescourcerList>
@using Webdiyer.WebControls.Mvc;

<style>
    #body main {
        min-height:300px;
    }
</style>
<div class="row" style="padding:25px 35px 20px 35px;">
    @foreach (var item in Model)
    {
        <div class="col-xs-6 col-sm-3">
            <div class="showTm">
                <a href="@Url.Action("checkVr", new {rescourceid=item.rescourceid})"><img src="../../Uploads/@item.rescourceid/@item.ImageshotFileName" class="img-responsive" /></a>
                <h5>@Html.DisplayFor(modelItem => item.Title)</h5>
                <div class="dd">
                    <p class="pull-left">
                        <span class="width-bf db">@Html.DisplayFor(modelItem => item.PlayTime)</span>
                        <span class="width-bf dz">@Html.DisplayFor(modelItem => item.PraiseTime)</span>
                    </p>
                    @{Html.RenderAction("browseListIndex", new { resourceid = item.rescourceid });}
                    @*                            <span class="pull-right"><a href='#' onclick="look(this); return false;" id="@item.rescourceid" class="width-show vr"></a></span>
                        <span class="pull-right"><a href='#' onclick="look(this); return false;" id="@item.rescourceid" class="width-show box"></a></span>
                        <span class="pull-right"><a href='#' onclick="look(this); return false;" id="@item.rescourceid" class="width-show html5"></a></span>*@
                </div>
            </div>
        </div>
    }
</div>

    @Html.Pager(Model, new PagerOptions()
        {
            PageIndexParameterName = "id",
            ShowPageIndexBox = true,
            ShowGoButton = true,
            PageIndexBoxWrapperFormatString = "跳转到第{0}页"
        })
